public class LabelTest2 {
    public static void main(String[] args) {
        boolean flag = true;
        int i=1;
        out:
        for(int j = 1; j<=3; j++) {
            switch (i) {
                case 1:
                    System.out.println(1);
                    break out;
            }
            System.out.println("j = " + j);
        }
    }
}
